package cn.dxh.stagefinal.bean;


import org.springframework.format.annotation.DateTimeFormat;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Date;

/**
 * IntelliJ IDEA -> stagefinal
 * 2019/12/10 10:31
 *
 * @author zmyao
 * 别看，我是渣渣。
 */
public class Employee {
    private Integer eId;
    private String eName;
    private String loginName;
    private String eTel;
    private Integer dId;
    private Department department;
    private Integer rId;
    private Role role;
//    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private String eEndTime;
    private Integer eState;
    private String eAddress;
    private String eSex;
    private String eQQ;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date eBirthday;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date eEntryTime;
    private String ePassword;
    private String salt;
    private Integer loginCount;

    public Integer getLoginCount() {
        return loginCount;
    }

    public void setLoginCount(Integer loginCount) {
        this.loginCount = loginCount;
    }

    public String getLoginName() {
        return loginName;
    }

    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }

    public String geteTel() {
        return eTel;
    }

    public void seteTel(String eTel) {
        this.eTel = eTel;
    }

    public String getSalt() {
        return salt;
    }

    public void setSalt(String salt) {
        this.salt = salt;
    }

    public String geteEndTime() {
        return eEndTime;
    }

    public void seteEndTime(String eEndTime) {
        this.eEndTime = eEndTime;
    }

    public Date geteBirthday() {
        return eBirthday;
    }

    public void seteBirthday(Date eBirthday) {
        this.eBirthday = eBirthday;
    }

    public Date geteEntryTime() {
        return eEntryTime;
    }

    public void seteEntryTime(Date eEntryTime) {
        this.eEntryTime = eEntryTime;
    }

    public Integer geteId() {
        return eId;
    }

    public void seteId(Integer eId) {
        this.eId = eId;
    }

    public String geteName() {
        return eName;
    }

    public void seteName(String eName) {
        this.eName = eName;
    }

    public Integer getdId() {
        return dId;
    }

    public void setdId(Integer dId) {
        this.dId = dId;
    }

    public Department getDepartment() {
        return department;
    }

    public void setDepartment(Department department) {
        this.department = department;
    }

    public Integer getrId() {
        return rId;
    }

    public void setrId(Integer rId) {
        this.rId = rId;
    }

    public Role getRole() {
        return role;
    }

    public void setRole(Role role) {
        this.role = role;
    }

    public Integer geteState() {
        return eState;
    }

    public void seteState(Integer eState) {
        this.eState = eState;
    }

    public String geteAddress() {
        return eAddress;
    }

    public void seteAddress(String eAddress) {
        this.eAddress = eAddress;
    }

    public String geteSex() {
        return eSex;
    }

    public void seteSex(String eSex) {
        this.eSex = eSex;
    }

    public String geteQQ() {
        return eQQ;
    }

    public void seteQQ(String eQQ) {
        this.eQQ = eQQ;
    }


    public String getePassword() {
        return ePassword;
    }

    public void setePassword(String ePassword) {
        this.ePassword = ePassword;
    }
}
